﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage/Edit.Master"  AutoEventWireup="true"  CodeBehind="BD_ProjectInvestmentPlan_Edit.aspx.cs" Inherits="Honestysoft.Financing.WebUI.Module.Project.BD_ProjectInvestmentPlan_Edit"  %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
	
<script language="javascript" type="text/javascript">
        var opts = null;
        function InitRules() {
            opts = {
                 rules:
                 {
					<%= numPlanYear.UniqueID%>:{required: true,digits: true},
					<%= numAmount.UniqueID%>:{required: true,number: true}				
                 },
                 messages:
                 {
					<%= numPlanYear.UniqueID%>:{required: "投资年度 请输入合适的值",digits: "投资年度 请输入有效的整数"},
					<%= numAmount.UniqueID%>:{required: "投资计划金额 请输入合适的值",number: "投资计划金额 请输入有效的数字"}			
                 },
                 onfocusout:false,
                 onclick:false,
                 onkeyup:false,
                 errorPlacement: function(error, element) {
                    $("#errorContainer").show();
                    error.html("<li>* "+error.html()+"</li>");
                    error.appendTo("#errorContainer");
                 },
                 wrapper:"li"
            }
        }
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
        <table cellpadding="0" width="100%" cellspacing="0" border="1" class="tEdit" style="border-bottom:0px;margin-top:2px;">
            <th style="border-bottom:0px">项目年度投资计划维护</th>
        </table>
        <table cellpadding="0" width="100%" cellspacing="0" border="1" class="tEdit">
		<tr>
			<td class="title1" style="width:100px">投资年度</td>
			<td><asp:TextBox ID="numPlanYear" MaxLength="4"  runat="server"  cssClass="input2" onbeforepaste="numboxPaste();" onkeypress="isInt();" Width="96%"></asp:TextBox></td>
		</tr>
        <tr>
			<td class="title1">投资计划(元)</td>
			<td><asp:TextBox ID="numAmount" runat="server"  cssClass="input2" onbeforepaste="numboxPaste();" onkeypress="isDecimal();" Width="96%"></asp:TextBox></td>
        </tr>
        <tr>
            <td class="title1">文号</td>
            <td>
            <asp:TextBox runat="server" ID="txtDocNo" cssClass="input2" MaxLength="200" onbeforepaste="numboxPaste();" onkeypress="isInt();"  Width="96%"></asp:TextBox>
            </td>
        </tr>
		<tr>
			<td class="title1">登记人</td>
			<td><asp:TextBox ID="txtSponsorName" runat="server" Enabled="false"  cssClass="input2" MaxLength="200" Width="96%"></asp:TextBox></td>
		</tr>
		<tr>
			<td class="title1">登记时间</td>
			<td><asp:TextBox ID="dtpCreateTime" Enabled="false" runat="server" cssClass="input2" onfocus="setday(this);" Width="96%"></asp:TextBox></td>
			
		</tr>
        <tr>
        <td class="title1">备注</td>
			<td><asp:TextBox ID="txtRemark" runat="server" TextMode="MultiLine" Rows="6"  cssClass="input2" Width="96%"></asp:TextBox></td>
        </tr>
        </table>
        <asp:HiddenField runat="server" ID="hidSponsor" />
        <div class="save_area">
            <asp:Button runat="server" ID="btnOK" Text="确定" class="btn_normal" 
                onmouseover="this.className='btn_active'" 
                onmouseout="this.className='btn_normal'" onclick="btnOK_Click"/>
            <input type="button" id="btnExit" value="取消" onclick="javascript:window.close();" class="btn_normal" onmouseover="this.className='btn_active'" onmouseout="this.className='btn_normal'" />
        </div>
</asp:Content>


